local sk__weiwo = fk.CreateSkill {

  name = "sk__weiwo",

  tags = { Skill.Compulsory, },

}



sk__weiwo:addEffect(fk.DamageInflicted, {
  name = "sk__weiwo",
  anim_type = "defensive",
  can_trigger = function(self, event, target, player, data)
    if target == player and player:hasSkill(sk__weiwo.name) then
      if data.damageType == fk.NormalDamage then
        return player:isKongcheng()
      else
        return not player:isKongcheng()
      end
    end
  end,
  on_use = Util.TrueFunc,
})

return sk__weiwo